﻿using Idlesoft.Utils;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Diagnostics;
using System.Collections.Specialized;
using System.Security;
using System.Text;

namespace UtilsTests
{
    
    
    /// <summary>
    ///This is a test class for AsyncProcessStartInfoTest and is intended
    ///to contain all AsyncProcessStartInfoTest Unit Tests
    ///</summary>
	[TestClass()]
	public class AsyncProcessStartInfoTest
	{


		private TestContext testContextInstance;

		/// <summary>
		///Gets or sets the test context which provides
		///information about and functionality for the current test run.
		///</summary>
		public TestContext TestContext
		{
			get
			{
				return testContextInstance;
			}
			set
			{
				testContextInstance = value;
			}
		}

		#region Additional test attributes
		// 
		//You can use the following additional attributes as you write your tests:
		//
		//Use ClassInitialize to run code before running the first test in the class
		//[ClassInitialize()]
		//public static void MyClassInitialize(TestContext testContext)
		//{
		//}
		//
		//Use ClassCleanup to run code after all tests in a class have run
		//[ClassCleanup()]
		//public static void MyClassCleanup()
		//{
		//}
		//
		//Use TestInitialize to run code before running each test
		//[TestInitialize()]
		//public void MyTestInitialize()
		//{
		//}
		//
		//Use TestCleanup to run code after each test has run
		//[TestCleanup()]
		//public void MyTestCleanup()
		//{
		//}
		//
		#endregion


		/// <summary>
		///A test for AsyncProcessStartInfo Constructor
		///</summary>
		[TestMethod()]
		public void AsyncProcessStartInfoConstructorTest()
		{
			ProcessStartInfo inPsi = null; // TODO: Initialize to an appropriate value
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(inPsi);
			Assert.Inconclusive("TODO: Implement code to verify target");
		}

		/// <summary>
		///A test for AsyncProcessStartInfo Constructor
		///</summary>
		[TestMethod()]
		public void AsyncProcessStartInfoConstructorTest1()
		{
			string fileName = string.Empty; // TODO: Initialize to an appropriate value
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(fileName);
			Assert.Inconclusive("TODO: Implement code to verify target");
		}

		/// <summary>
		///A test for AsyncProcessStartInfo Constructor
		///</summary>
		[TestMethod()]
		public void AsyncProcessStartInfoConstructorTest2()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo();
			Assert.Inconclusive("TODO: Implement code to verify target");
		}

		/// <summary>
		///A test for AsyncProcessStartInfo Constructor
		///</summary>
		[TestMethod()]
		public void AsyncProcessStartInfoConstructorTest3()
		{
			string fileName = string.Empty; // TODO: Initialize to an appropriate value
			string arguments = string.Empty; // TODO: Initialize to an appropriate value
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(fileName, arguments);
			Assert.Inconclusive("TODO: Implement code to verify target");
		}

		/// <summary>
		///A test for PreparePsi
		///</summary>
		[TestMethod()]
		public void PreparePsiTest()
		{
			ProcessStartInfo inPsi = null; // TODO: Initialize to an appropriate value
			ProcessStartInfo expected = null; // TODO: Initialize to an appropriate value
			ProcessStartInfo actual;
			actual = AsyncProcessStartInfo.PreparePsi(inPsi);
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for UnWrap
		///</summary>
		[TestMethod()]
		public void UnWrapTest()
		{
			AsyncProcessStartInfo apsi = null; // TODO: Initialize to an appropriate value
			ProcessStartInfo expected = null; // TODO: Initialize to an appropriate value
			ProcessStartInfo actual;
			actual = AsyncProcessStartInfo.UnWrap(apsi);
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Wrap
		///</summary>
		[TestMethod()]
		public void WrapTest()
		{
			ProcessStartInfo psi = null; // TODO: Initialize to an appropriate value
			AsyncProcessStartInfo expected = null; // TODO: Initialize to an appropriate value
			AsyncProcessStartInfo actual;
			actual = AsyncProcessStartInfo.Wrap(psi);
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Arguments
		///</summary>
		[TestMethod()]
		public void ArgumentsTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.Arguments = expected;
			actual = target.Arguments;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Domain
		///</summary>
		[TestMethod()]
		public void DomainTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.Domain = expected;
			actual = target.Domain;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for EnvironmentVariables
		///</summary>
		[TestMethod()]
		public void EnvironmentVariablesTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			StringDictionary actual;
			actual = target.EnvironmentVariables;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for ErrorDialog
		///</summary>
		[TestMethod()]
		public void ErrorDialogTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			bool expected = false; // TODO: Initialize to an appropriate value
			bool actual;
			target.ErrorDialog = expected;
			actual = target.ErrorDialog;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for ErrorDialogParentHandle
		///</summary>
		[TestMethod()]
		public void ErrorDialogParentHandleTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			IntPtr expected = new IntPtr(); // TODO: Initialize to an appropriate value
			IntPtr actual;
			target.ErrorDialogParentHandle = expected;
			actual = target.ErrorDialogParentHandle;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for FileName
		///</summary>
		[TestMethod()]
		public void FileNameTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.FileName = expected;
			actual = target.FileName;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for LoadUserProfile
		///</summary>
		[TestMethod()]
		public void LoadUserProfileTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			bool expected = false; // TODO: Initialize to an appropriate value
			bool actual;
			target.LoadUserProfile = expected;
			actual = target.LoadUserProfile;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Password
		///</summary>
		[TestMethod()]
		public void PasswordTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			SecureString expected = null; // TODO: Initialize to an appropriate value
			SecureString actual;
			target.Password = expected;
			actual = target.Password;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for StandardErrorEncoding
		///</summary>
		[TestMethod()]
		public void StandardErrorEncodingTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			Encoding expected = null; // TODO: Initialize to an appropriate value
			Encoding actual;
			target.StandardErrorEncoding = expected;
			actual = target.StandardErrorEncoding;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for StandardOutputEncoding
		///</summary>
		[TestMethod()]
		public void StandardOutputEncodingTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			Encoding expected = null; // TODO: Initialize to an appropriate value
			Encoding actual;
			target.StandardOutputEncoding = expected;
			actual = target.StandardOutputEncoding;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for StdErr
		///</summary>
		[TestMethod()]
		public void StdErrTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			Action<string> expected = null; // TODO: Initialize to an appropriate value
			Action<string> actual;
			target.StdErr = expected;
			actual = target.StdErr;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for StdOut
		///</summary>
		[TestMethod()]
		public void StdOutTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			Action<string> expected = null; // TODO: Initialize to an appropriate value
			Action<string> actual;
			target.StdOut = expected;
			actual = target.StdOut;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for UserName
		///</summary>
		[TestMethod()]
		public void UserNameTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.UserName = expected;
			actual = target.UserName;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Verb
		///</summary>
		[TestMethod()]
		public void VerbTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.Verb = expected;
			actual = target.Verb;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for Verbs
		///</summary>
		[TestMethod()]
		public void VerbsTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string[] actual;
			actual = target.Verbs;
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for WindowStyle
		///</summary>
		[TestMethod()]
		public void WindowStyleTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			ProcessWindowStyle expected = new ProcessWindowStyle(); // TODO: Initialize to an appropriate value
			ProcessWindowStyle actual;
			target.WindowStyle = expected;
			actual = target.WindowStyle;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}

		/// <summary>
		///A test for WorkingDirectory
		///</summary>
		[TestMethod()]
		public void WorkingDirectoryTest()
		{
			AsyncProcessStartInfo target = new AsyncProcessStartInfo(); // TODO: Initialize to an appropriate value
			string expected = string.Empty; // TODO: Initialize to an appropriate value
			string actual;
			target.WorkingDirectory = expected;
			actual = target.WorkingDirectory;
			Assert.AreEqual(expected, actual);
			Assert.Inconclusive("Verify the correctness of this test method.");
		}
	}
}
